<include target="_header.html" />
<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
	<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<div id="search">
	<form action="./" method="get" id="fo_search" class="search_box">
	<input cond="$vid" type="hidden" name="vid" value="{$vid}" />
	<input type="hidden" name="mid" value="{$mid}" />
	<input type="hidden" name="category" value="{htmlspecialchars($category)}" />
	<input id="searchkey" type="text"  name="search_keyword" value="{$search_keyword}" class="inputText" accesskey="S" title="{$lang->cmd_search}">
		<button type="submit" class="btn_search">{$lang->cmd_search}</button>
	</form>
	<div cond="$module_info->allow_keywords == 'Y'" class="notice">
		<ul cond="count($search_keywords)>0" class="notice_lst">
			<li loop="$search_keywords => $keyword"><a href="{getUrl('','mid',$mid,'search_keyword',$keyword)}">{htmlspecialchars($keyword)}</a></li>
		</ul>
	</div>
</div>

<div class='question list'>
	<include target="_style.list.html" />
</div>
<div class="pagination">
	<a href="{getUrl('page','','question_srl','','division',$division,'last_division',$last_division)}" class="prevEnd">{$lang->first_page}</a> 
	<block loop="$page_no = $page_navigation->getNextPage()">
		<strong cond="$page == $page_no">{$page_no}</strong> 
		<a cond="$page != $page_no" href="{getUrl('page',$page_no,'question_srl','','division',$division,'last_division',$last_division)}">{$page_no}</a>
	</block>
	<a href="{getUrl('page',$page_navigation->last_page,'question_srl','','division',$division,'last_division',$last_division)}" class="nextEnd">{$lang->last_page}</a>
</div>

<div cond="$grant->manager" class="buttonRight">
     <a href="{getUrl('act','dispFaqWrite','question_srl','')}" class="btn green strong"><span>{$lang->cmd_write}</span></a>
</div>

<include target="_footer.html" />
